﻿using System;
using System.Collections.Generic;

using System.Text;

namespace Hjg.Pngcs.Chunks
{
	internal class ChunkPredicateId : ChunkPredicate
	{
		private readonly string id;

		public ChunkPredicateId ( String id )
		{
			this.id = id;
		}

		public bool Matches ( PngChunk c )
		{
			return c.Id.Equals ( id );
		}
	}
}
